﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using Microsoft.Practices.ServiceLocation;
using TimeTravel.Components;
using TimeTravel.IServices;

namespace TimeTravel.Controllers
{
    public partial class PartialViewController : BaseController
    {
        static readonly IAnnouncementService AnnouncementService = ServiceLocator.Current.GetInstance<IAnnouncementService>();
        public PartialViewResult Announcement()
        {
            var announcementList = new List<AnnouncementInfo>(); //AnnouncementService.GetAll();
            return PartialView(SubPagePath + "_Announcement.cshtml", announcementList);
        }

        public ActionResult AddAnnouncement()
        {
            return null;
        }

        public ActionResult UpdateAnnouncement()
        {
            return null;
        }

        public ActionResult DeleteAnnouncement()
        {
            return null;
        }
    }
}
